Auto merge of #3937 - andwur:rustc-flag-determinism, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 18 May 2017 19:05:20 +0000 (19:05 +0000)
committerbors <bors@rust-lang.org>
Thu, 18 May 2017 19:05:20 +0000 (19:05 +0000)
commit483e0ab0e639056fc04a906fb3f9f4b7beea4b92
tree15daf67ebc9955cd217541e1ed26e8dc39b10ac8
parentac04d2e0afa95cb749406f4934421342506da4f2
parent408f4e314553b3c8493c5c9e6bb1b72b336161cc
Auto merge of #3937 - andwur:rustc-flag-determinism, r=alexcrichton

Deterministic -L and --cfg flag ordering

This ensures that the `-L` and `--cfg` flags passed to `rustc` have stable ordering across runs.

It also does the same for `--cfg` flags passed to `rustdoc`.

Fixes #3895
tests/build-script.rs